/**
 * FileName: CareMapper
 * Author:   P
 * Date:     2021/3/1 13:57
 * Description:
 */
package com.hospital.nurse.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hospital.nurse.pojo.Care;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CareMapper extends BaseMapper<Care> {

    List<Care> findAllCareAndPatient();
    //查看更多护理信息
    Care findMoreCare(@Param("cid") int cid);
    //模糊查询护理记录
    List<Care> getCareByPaitentName(@Param("name") String name);

}
